package org.jeecg.modules.approve.charge.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.approve.charge.entity.BikeApproveCharge;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.approve.charge.vo.BikeApproveChargeRsp;
import org.jeecg.modules.approve.charge.vo.ChargeReq;

import java.math.BigDecimal;

/**
 * @Description: 余额退款审批信息
 * @Author: jeecg-boot
 * @Date:   2021-11-05
 * @Version: V1.0
 */
public interface IBikeApproveChargeService extends IService<BikeApproveCharge> {

    IPage<BikeApproveChargeRsp> queryPageList(ChargeReq chargeReq, Integer pageNo, Integer pageSize);

    Result<?> approve(BikeApproveCharge bikeApproveCharge);

    BigDecimal getBalance(BikeApproveCharge bikeApproveCharge);
}
